package com.webapp.dao;

import java.util.List;
import java.util.Map;

import com.webapp.model.Demo;
import com.webapp.model.User;

public interface DemoDao {

	Demo getDemoById(int demoId);
	List<Demo> findDemoAll();
	
	Map<String, Object> getUserToMap(int demoId);
	
	
	int countDemoAll();

    int insertDemo(Demo demo);
    int insertList(List<Demo> list);
    
    
    int updateDemo(Demo demo);
    int deleteUsre(int id);
    
}
